package com.pignest.hotel.beans;

import com.pignest.hotel.annotation.Bean;
import com.pignest.hotel.beans.global.BaseBean;

@Bean("入住客人")
public class LivingCustom extends BaseBean {
	private static final long serialVersionUID = 7758200749969800434L;
	
	private Living living;
	private String name;
	private String certificateno;
	private String certificatetype;
	private String ishost;
	private String sex;
	private String phone;

    public LivingCustom() {
    }
    
    public Living getLiving() {
		return living;
	}


	public void setLiving(Living living) {
		this.living = living;
	}


	public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getCertificateno() {
        return this.certificateno;
    }
    
    public void setCertificateno(String certificateno) {
        this.certificateno = certificateno;
    }

    public String getCertificatetype() {
        return this.certificatetype;
    }
    
    public void setCertificatetype(String certificatetype) {
        this.certificatetype = certificatetype;
    }

    public String getIshost() {
        return this.ishost;
    }
    
    public void setIshost(String ishost) {
        this.ishost = ishost;
    }

    public String getSex() {
        return this.sex;
    }
    
    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
   
    @Override
    public String toSimpleString() {
    	return concat(living.getRoom().getName(), name);
    }

}